<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/3/16
  Time: 17:36
  这是找回密码界面
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path=request.getContextPath();
    String basePath=request.getScheme()+"：//"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>公务员报名系统</title>
    <link rel="stylesheet" href="/style/mycss.css" type="text/css">
</head>
<body>
<%@include file="FirstGuide.jsp" %>

<span class="blank8"></span>
<div id="wrapper">
    <div>
        <div class="areaSideBar clearfix" style="background-color: #fcfcfc;">
            <div class="titleBar ui_s4">
                <h2>
                    找回密码
                </h2>
            </div>
            <div style="margin: 15px; min-height: 400px; _height: 400px;">
                <div style="height: 550px; width: 965px; overflow: auto;">
                    <script >
                        function reset() {
                            var text1=document.getElementById("textfield");
                            var text2=document.getElementById("textfield2");
                            var text3=document.getElementById("textfield3");
                            var text4=document.getElementById("textfield4");
                            var text5=document.getElementById("textfield5");
                            text1.textContent="";
                            text2.textContent="";
                            text3.textContent="";
                            text4.textContent="";
                            text5.textContent="";
                        }
                    </script>
                    <script type="text/javascript">
                        function shuaxin(obj){
                            var shijian=new Date().getTime();
                            obj.src="imageAction.action?d="+shijian;
                        }
                    </script>
                    <s:form action="findpassword" method="post">
                        <table width="458" height="239" align="center" >
                            <tr>
                                <s:textfield name="userName" label="账号" id="textfield"></s:textfield>
                            </tr>
                            <tr>
                                <s:password name="superpassword" label="超级密码" id="textfield2"></s:password>
                            </tr>
                            <tr>
                                <s:password name="password" label="密码" id="textfield3"></s:password>
                            </tr>
                            <tr>
                                <s:password name="confirmPassword" label="重复密码" id="textfield4"></s:password>
                            </tr>
                            <tr>
                                <td>
                                    验证码：
                                </td>
                                <td>
                                    <input type="text"  name="yzm" id="textfield5"/>
                                    <img src="imageAction" align="left" alt="点击图片" onclick="shuaxin(this)"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="submit" name="button" id="button" value="提交"/>
                                </td>
                                <td>
                                    <input type="reset"  onclick="reset()" value="重置"/>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" ><font color="red">${requestScope.errorMessage}</font></td>
                            </tr>
                        </table>
                    </s:form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
